package com.john.springboot.service;

import java.util.List;

import com.john.springboot.entity.User;

/**
 *
 * User 表数据服务层接口
 *
 */
public interface IUserService {

	void deleteAll();

	List<User> selectListBySQL();

	User create(User user) ;

	User update(User user) ;

	boolean delete(Long userId);

	User getUserById(Long userId);
}